<include file="__THEME__/header" />
<link href="../Public/css/photo.css" rel="stylesheet" type="text/css" />
<!-- 头部 end -->

<div class="content"><!-- 内容 begin  -->

	<include file="__THEME__/apps" />

	<div class="main"> <!-- 右侧内容 begin  -->

		<div class="page_title"> <!-- page_title begin -->
			<h2><img src="../Public/images/ico_app02.gif" />{$APPINFO['APP_CNNAME']}</h2>
		<div class="c"></div>
</div><!-- page_title end -->

		<div class="tab-menu"><!-- 切换标签 begin  -->
		<ul>
			<li><a href="__URL__/index"><span>普通上传</span></a></li>
			<li><a href="__URL__/flash"><span>批量上传</span></a></li>
			<li><a href="__URL__/camera" class="on"><span>在线拍照</span></a></li>
            <li><a href="__APP__/Index/photos"><span>返回我的{$APPINFO['APP_CNNAME']}</span></a></li>
		</ul>
		</div><!-- 切换标签 end  -->
		
		<div class="photoBox">
        	<form method="post" action="__APP__/Upload/upload_muti_pic" enctype="multipart/form-data" name="upload_single_pic" id="upload_single_pic">
			<div class="upload">
			<ul >
			<li id="flashContent">
			<p>
	        	To view this page ensure that Adobe Flash Player version 
				10.0.0 or greater is installed. 
			</p>
			<a href="http://www.adobe.com/go/getflashplayer">
				<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
			</a>
			</li>
        	</ul>
 
        	
       		<div class="clue">
          		<p>严禁上传色情、暴力、恐怖、反动等违法{$APPINFO['APP_CNNAME']}，永葆{$site_opts.site_name}美好！</p>
       			<span class="clue_btm"></span>
     		</div>
    		</div>
   			</form>
        </div>  </div><!-- 右侧内容 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
<script src="../Public/js/album.js" type="text/javascript"></script>
<script type="text/javascript" src="../Public/js/camera/swfobject.js"></script>
<script type="text/javascript">
	function test(url){
		alert(url);
	}        

    var swfVersionStr = "10.0.0";
    var xiSwfUrlStr = "../Public/js/camera/playerProductInstall.swf";
    var flashvars = new Object();
    flashvars.sendUrl = '__APP__/Upload/docamera';
    var params = new Object();
    params.quality = "high";
    params.bgcolor = "#ffffff";
    params.allowscriptaccess = "sameDomain";
    params.allowfullscreen = "true";
    var attributes = new Object();
    attributes.id = "setCamera";
    attributes.name = "setCamera";
    attributes.align = "middle";
    swfobject.embedSWF(
        "../Public/js/camera/setCamera.swf", "flashContent", 
        "437", "381", 
        swfVersionStr, xiSwfUrlStr, 
        flashvars, params, attributes);
	swfobject.createCSS("#flashContent", "display:block;text-align:left;");
</script>